package com.example.dsplatform.pojo.Entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString

@TableName("Dorm")
public class Dorm {
    //宿舍号
    @TableId(value = "DORM_ID", type = IdType.AUTO)
    private Integer dorm_id;
    //宿舍楼号
    @TableField(value = "DORM_BUILDID")
    private String dorm_buildid;
    //学院名称
    @TableField(value = "COLLEGE_ID")
    private String college_id;
    //专业名称
    @TableField(value = "MAJOR_ID")
    private String major_id;
    //租户号
    @TableField(value = "TENANT_ID")
    private String tenant_id;
    //乐观锁
    @TableField(value = "REVISION")
    private String revision;
    //创建人
    @TableField(value = "CREATED_BY")
    private String created_by;
    //创建时间
    @TableField(value = "CREATED_TIME")
    private String created_time;
    //更新人
    @TableField(value = "UPDATE_BY")
    private String update_by;
    //更新时间
    @TableField(value = "UPDATE_TIME")
    private String update_time;
}
